.yg-index {
  .search {
    height: 100rpx;
    width: 750rpx;
    line-height: 100rpx;
    background-color: #ff2d4a;
    display: flex;
    justify-content: center;
    align-items: center;

    .search_content {
      width: 90%;
      height: 80rpx;
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #8A7A7E;
    }
  }
  .yg-index-swiper {
    swiper {
      height: 340rpx;
      swiper-item {
        image {
          height: 100%;
        }
      }
    }
  }
  .yg-index-category{
    margin-top: 12rpx;
    margin-bottom: 43rpx;
    display: flex;

    navigator {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;

        image {
            height: 140rpx;
            width: 128rpx;
        }
    }
  }
  .yg-index-floor {
    .floor_title {
      margin-top: 10rpx;
      image {
        height: 59rpx;
      }
    }
  
    .product_list {
      overflow: hidden;
      navigator {
        float: left;
        &:nth-child(1) {
            margin-left: 16rpx;
            height: 386rpx;
            width: 232rpx;
        }

        &:nth-child(2),&:nth-child(3),&:nth-child(5),
        &:nth-child(4) {
            margin-left: 15rpx;
            height: 188rpx;
            width: 233rpx;
        }

        &:nth-child(3),
        &:nth-child(2) {
            margin-bottom: 10rpx;
        }
        image{
            width: 100%;
            height: 100%;
        }

    }
      
    }
  }
}